package com.scm.platform.local.service.admin;

import com.scm.platform.dao.mapper.UserMapper;
import com.scm.platform.dao.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.List;

/**
 * @author dingc
 * @date 2017/9/14.
 */
@Service
@EnableTransactionManagement
public class UserService {

    @Autowired
    private UserMapper mapper;

    public List<User> getUser(){
        return this.mapper.selectAll();
    }


}
